﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GGHList.aspx.cs" Inherits="GPCSC.Web.sjs.GGHList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
     <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
   <script type="text/javascript">
       function openNew() {
           var types = document.getElementById("types").value;
           window.location.href = "GGHEdit.aspx?type="+types;
       }
   </script>
</head>
<body>
    <form id="form1" runat="server">
<ext:PageManager ID="PageManager1" runat="server" />


    <ext:Grid ID="Grid1" ShowBorder="true" ShowHeader="true" 
    EnableCheckBoxSelect="true"  DataKeyNames="GGHID" EnableRowNumber="True"

    Title="挂钩结对户情况表"   Height="700px"   CssStyle=" width:95%;"          runat="server" >
           <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <ext:Button ID="btnNew" OnClientClick="openNew()" Text="新增" Icon="Add" EnablePostBack="false" runat="server">
                    </ext:Button>
                    <ext:Button ID="btnDelete" Text="删除选中项" Icon="Delete" ConfirmText="您确认删除吗?" ConfirmTarget="Self"  OnClick="btnDelete_Click" runat="server">
                    </ext:Button>
                </Items>
            </ext:Toolbar>
        </Toolbars>

        <Columns>

            <ext:BoundField Width="100px" DataField="HZName" DataFormatString="{0}" HeaderText="户主名" />
            <ext:BoundField Width="100px" DataField="HZAdrr" DataFormatString="{0}" HeaderText="地址" />
            <ext:BoundField Width="100px" DataField="HZLXfs" DataFormatString="{0}" HeaderText="联系方式" />
            <ext:BoundField Width="100px" DataField="ZFcs" DataFormatString="{0}" HeaderText="走访次数" />
            <ext:BoundField Width="100px" DataField="BFCS" DataFormatString="{0}" HeaderText="帮扶次数" />
            <ext:BoundField Width="100px" DataField="FKId" DataFormatString="{0}" HeaderText="测试"  />
           <%-- <ext:TemplateField HeaderText="" Width="100px">
                <ItemTemplate>
                     <a href="<%# GetEditUrl(Eval("GGHID"),0) %>">增加走访次数</a>

                </ItemTemplate>
            </ext:TemplateField>
             <ext:TemplateField HeaderText="" Width="100px">
                <ItemTemplate>
                     <a href="<%# GetEditUrl(Eval("GGHID"),1) %>">增加帮扶次数</a>

                </ItemTemplate>
            </ext:TemplateField>--%>
        </Columns>
    </ext:Grid>
    <br />
    <br />
    <ext:Label ID="labResult" EncodeText="false" runat="server">
    </ext:Label>
     <ext:Window ID="Window1" Title="编辑" Popup="false" EnableIFrame="true" runat="server"
        CloseAction="HidePostBack" EnableConfirmOnClose="true" IFrameUrl="about:blank"
        EnableMaximize="true" OnClose="Window1_Close"  Target="Self" IsModal="True" Width="750px"
        Height="200px">
    </ext:Window>
    <input type="text" runat ="server" id="types" />

    </form>
</body>
</html>
